package com.UI;

import java.net.URLDecoder;

import org.apache.log4j.PropertyConfigurator;

import com.util.CurrentUtil;

public class InfoAlarmApp
{
	/**
	 * 
	 * TODO The first entry of infoAlarm
	 */
	public static void main(String[] args)
	{
		String binPath = InfoAlarmApp.class.getResource("../../").getPath();
		String projectPath = CurrentUtil.getProjectPath(binPath);
		try 
		{
		  projectPath = URLDecoder.decode(projectPath, "utf-8");
		} catch (Exception e) 
		{
		    e.printStackTrace();
		}
		 PropertyConfigurator.configure(projectPath+"/properties/log4j.properties");
		 InfoUI infoApp = new InfoUI();
		 infoApp.CreateUI("研招资讯小闹钟",projectPath);
	}
}
